<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<title>第一种上传方式--常用Form表单上传</title>
</head>
<body>
<pre>
Form上传需要的参数包括:
sitekey:站点标示(必须)
userid:用户id(可选)
username:用户名称(可选)

</pre>
<form action="<%=request.getContextPath() %>/upload.php" method="post" enctype="multipart/form-data" >
		<input type="hidden" name="sitekey" value="default">
		<input type="hidden" name="userid" value="123">
		<input type="hidden" name="username" value="test">
		<input type="file" name="picName">
		<input type="file" name="picName">
		<input type="file" name="picName2">
		<input type="submit" value="提交">
</form>

</body>
</html>